package com.atde._03_creational_design_patterns.fcatory.factorymethod.pizzastore.pizza;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._03_creational_design_patterns.fcatory.factorymethod.pizzastore.pizza
 * @Author: Del
 * @CreateTime: 2025-06-03  00:22
 * @Description: 工厂方法 ---- 具体的披萨子类 --- 北京的 胡椒披萨
 * @Version: 1.0
 */
public class BJPepperPizza extends Pizza{
    @Override
    public void prepare() {
        // TODO Auto-generated method stub
        setName(" 北京的胡椒披萨 ");
        System.out.println(" 北京的胡椒披萨 准备原材料 ");
    }
}
